package com.cly.util;

/**
 * fastdfs工具类
 */
public class FastDFSUtil {

    /**
     * 解析fastdfs的路径参数
     * @return
     */
    public static String parseGroup(String fullPath){
        String[] paths = fullPath.split("/");
        if (paths.length <= 1){
            throw new RuntimeException("参数错误，我发解析");
        }
        return paths[0];
    }
}
